home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ SFP Options 2.xpl
< prev
next >
Wrap
Text File
|
2001-04-12
|
1KB
|
49 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="7"
"COUNT"="3"
"UIPATH"="System\Software Installation\Windows File Protection"
"NAME"="WFP Check Options"
"VERSION"="1.05"
"OSVERSION"="000101"
"LANGUAGE"="VBScript"
"TEXT 1"="Do not scan cached files"
"TEXT 2"="Scan cached files at every bootup"
"TEXT 3"="Scan cached files ONLY on next bootup"
"DESCRIPTION 1"="WFP is a system that prevents "bad" apps from changing system files."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Thanks to Chris [mailto:cgmt@flashmail.com] for the "only W2K" bug fix"
sV1="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SFCScan" 'DW
Sub Plugin_Initialize
i=RegReadValue(sV1)
if i=0 then setuielement 1,true
if i=1 then setuielement 2,true
if i=2 then setuielement 3,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if GetUIElement(1)=true then
v=0
else
if GetUIElement(2)=true then
v=1
else
v=2
end if
end if
Call RegWriteValue(sV1,v,2)
End Sub
Sub Plugin_Terminate
End Sub